import { createRouter, createWebHashHistory } from 'vue-router'
const routes=[
  {
    path: '/',
    name: 'Home',
    component: () => import(/* webpackChunkName: "home" */ '../views/Home.vue'),
    children:[
      {
        path: '/',
        name: 'Control',
        component: () => import(/* webpackChunkName: "home" */ '../views/Control/index.vue')
      }
    ]
  }
]
const router = createRouter({
  history: createWebHashHistory(),
  routes: routes
})
export default router